﻿using Newtonsoft.Json.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IceDog.JsonDotNet.Model
{
    public class PersonConverter : CustomCreationConverter<Person>
    {
        public override Person Create(Type objectType)
        {
            return new Employee();
        }
    }
}
